package org.jeecg.modules.wmhb.entity;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.jeecg.common.aspect.annotation.Dict;
import org.jeecgframework.poi.excel.annotation.Excel;

@Data
public class PurchaseBom {
    @Excel(name = "产品编码")
    private String code;           // 编码（产品、组件或材料编码）

    @Excel(name = "产品名称")
    private String name;           // 名称

    @Excel(name = "单位", dicCode = "unit_of_measure")
    @Dict(dicCode = "unit_of_measure")
    private String unitOfMeasure;  // 单位（产品、组件或材料单位）

    @Excel(name = "数量")
    private Double quantity;      // 数量

    @Excel(name = "规格")
    private String specification;  // 规格（产品、组件或材料规格）

    @Excel(name = "产品物料标识", width = 15, dicCode = "item_or_product")
    @Dict(dicCode = "item_or_product")
    private String itemOrProduct;  // 产品物料标识

    @Excel(name = "是否包含电气", width = 15, dicCode = "sys_yes_no")
    @Dict(dicCode = "sys_yes_no")
    private java.lang.String isContainElectric;

    @Excel(name = "是否包含控制", width = 15, dicCode = "sys_yes_no")
    @Dict(dicCode = "sys_yes_no")
    private java.lang.String isContainControl;

    @Excel(name = "是否包含安装", width = 15, dicCode = "sys_yes_no")
    @Dict(dicCode = "sys_yes_no")
    private java.lang.String isContainInstall;

    @Excel(name = "是否包含调试", width = 15, dicCode = "sys_yes_no")
    @Dict(dicCode = "sys_yes_no")
    private java.lang.String isContainDebug;

    @Excel(name = "是否含安装主材", width = 15, dicCode = "sys_yes_no")
    @Dict(dicCode = "sys_yes_no")
    private java.lang.String isContainMainMaterial;

    @Excel(name = "是否含安装辅材", width = 15, dicCode = "sys_yes_no")
    @Dict(dicCode = "sys_yes_no")
    private java.lang.String isContainAssistMaterial;

    private String status;         // 导入状态

    private String result;
}
